body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

.show{ animation:show-item 2s ease-in forwards; }
.hide{ animation:hide-item 2s ease-in forwards; }

@keyframes hide-item{
  0% {
      opacity:1;
      color:yellow;
  }
  50%{
      opacity: 0.5 ;
      color:red;
  }
  100%{
      opacity:0;
      color: green;
  }
}

@keyframes show-item{
  0% {
      opacity:0;
      color:yellow;
  }
  50%{
      opacity: 0.5 ;
      color:red;
  }
  100%{
      opacity:1;
      color: green;
  }
}
